package com.swsc.solarverse.dao.entity.forward;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 数据转发电站映射关系
 * </p>
 *
 * @author AutoGenerator
 * @since 2025-01-13
 */
@Data
@TableName("solar_forward_corporation_relation")
public class ForwardCorporationRelationDO {

    @com.baomidou.mybatisplus.annotation.TableId(type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Integer id;
    @TableField("tenant_no")
    private Integer tenantNo;

    @TableField("organ_no")
    private Integer organNo;

    @TableField("channel_no")
    private Short channelNo;

    /**
     * 厂家: huawei, yangguang
     */
    @TableField("manufacturer")
    private String manufacturer;

    /**
     * 转发数据分类：IV, 综自
     */
    @TableField("forward_category")
    private String forwardCategory;

    /**
     * 场站编码
     */
    @TableField("plant_code")
    private String plantCode;

    /**
     * 场站名称
     */
    @TableField("plant_name")
    private String plantName;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 从站ip
     */
    @TableField("slave_ip")
    private String slaveIp;

    /**
     * 从站port
     */
    @TableField("slave_port")
    private Short slavePort;

    /**
     * 遥测起始点
     */
    @TableField("yc_start_point")
    private Integer ycStartPoint;

    /**
     * 遥测结束点
     */
    @TableField("yc_end_point")
    private Integer ycEndPoint;


}
